16. Look at Earthquake Query Result

Look at Earthquake Query Result

Question:

Start Quiz:

Solution:

INSTRUCTOR NOTE:

For step #1, use this URL to fetch earthquake data http://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&starttime=2016-01-01&endtime=2016-01-31&minmag=6&limit=10

For step #2, you can search for a “JSON formatter” online, or use these options:
https://jsonformatter.curiousconcept.com/
http://jsonprettyprint.com/

For step #3, if you want to know what each attribute key represents, check the detailed API guide:
http://earthquake.usgs.gov/earthquakes/feed/v1.0/geojson.php
http://earthquake.usgs.gov/earthquakes/feed/v1.0/geojson_detail.php